//
//  RCSearchMoreTagsVC.h
//  RocketProject
//
//  Created by chen jiedan on 13-6-26.
//  Copyright (c) 2013年 Rocket. All rights reserved.
//

#import "RCBaseVC.h"
#import "MBProgressHUD.h"
#import "IManager+ModuleSearchCityCategory.h"

typedef enum{
    SearchMoreTagsVCTypeCategory = 1,
    SearchMoreTagsVCTypeDistrict = 2,
    SearchMoreTagsVCTypeCategoryAndDiscount = 3,
    SearchMoreTagsVCTypeAddMerchant = 4   //从添加商户过来
}SearchMoreTagsVCType;

@protocol SearchMoreTagsDelegate <NSObject>

@optional

-(void)categoryDidSelect:(NSString *)categotyName;

@end

@interface RCSearchMoreTagsVC : RCBaseVC<MBProgressHUDDelegate,IManagerDelegate,UITableViewDataSource,UITableViewDelegate>

@property(nonatomic,assign) SearchMoreTagsVCType viewType;
@property(nonatomic,retain) NSString *cityID;
@property(nonatomic,assign) id<SearchMoreTagsDelegate>delegate;

-(id)initWithParameters:(NSString *)cityID WithType:(SearchMoreTagsVCType)viewType;
-(void) refreshData;

@end
